<?php namespace Winter\Blog\Updates;

use Schema;
use Winter\Storm\Database\Updates\Migration;
/**
 * CreateTagsTable Migration
 */
class CreateBannersTable extends Migration
{

    /**
     * @inheritDoc
     */
    public function up()
    {
        
        Schema::create('winter_blog_banner', function(Blueprint $table) {
            $table->engine = 'InnoDB';

            $table->increments('id');
            $table->string('title', 128)->nullable();
            $table->text('description')->nullable();
            $table->timestamps();
        });
 
    }

    /**
     * @inheritDoc
     */
    public function down()
    {
        Schema::dropIfExists('winter_blog_banner');
    }

}
